<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
             targetNamespace="Examples">

  <process id="simpleSubProcess" isExecutable="true">

    <startEvent id="theStart" />

    <sequenceFlow sourceRef="theStart" targetRef="theTask" />

    <serviceTask id="theTask" camunda:expression="${subVariable == null}" />

    <sequenceFlow sourceRef="theTask" targetRef="wait" />

    <userTask id="wait" name="Task in subprocess" />

    <sequenceFlow sourceRef="wait" targetRef="theEnd" />

    <endEvent id="theEnd" />

  </process>

</definitions>
